package thread;

class MyThread1 extends Thread{
    @Override
    public void run() {
        System.out.println("我是MyThread线程");
    }
}
public class ThreadDemo17 {
    public static void main(String[] args) {
        System.out.println("我是主线程");
        MyThread1 thread1=new MyThread1();
        thread1.start();
    }
}
